// pages/home/home.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        // url:"https://img.zcool.cn/community/01ddf456e319766ac72531cb07f020.jpg@1280w_1l_2o_100sh.jpg"
        url:"./images/WeChate92539ff15a8fb2faec1b613c15ca8f5.jpg"
    },
    gotoindex: function(){
        const isDisplay = wx.getStorageSync('isDisplay');
        if( isDisplay == false) {
          wx.showToast({
            title: '请进行登陆！',
            icon:'none'
          })
        }else {
          wx.navigateTo({
            url: '../index/index',
          })
        }
    }
})        